package com.niiwoo.civet.trade.dao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.niiwoo.civet.trade.dao.entity.InvestStdConfig;
import com.niiwoo.civet.trade.dto.request.creditor.TradableInvestOrderFilterRequestDTO;
import com.niiwoo.civet.trade.dto.response.RelationInvestStdConfigItemDTO;

public interface InvestStdConfigMapperExt extends InvestStdConfigMapper {

    List<InvestStdConfig> selectByProductTypeAndConfigType(@Param("productType") Byte productType, @Param("configType") Byte configType);

    List<InvestStdConfig> selectByProductType(@Param("productType") Byte productType);

	List<RelationInvestStdConfigItemDTO> selectByRelationAndProductType(@Param("productType") Byte productType);

	List<InvestStdConfig> selectByRelationAndConfigType(TradableInvestOrderFilterRequestDTO request);
}